<!DOCTYPE html>
   <script type="text/javascript">
       function showTime(){
	      var date=new Date();
		  document.getElementById("time").innerHTML= date.getHours()+":"+date.getMinutes()+":"+date.getSeconds();
		  setTimeout("showTime()", 1000);
	   }
   </script>
   <body onLoad="showTime()">
   <div id=time></div>
   </body>
</html>